<cfsilent>

<cfapplication name="ConfigTest" sessionmanagement="Yes"
               sessiontimeout="#CreateTimeSpan(0,0,20,0)#">

<!---
If our configuration isn't loaded, or if we've added
appReload to our query string, reload the configuration.
--->
<cfparam name="url.appreload" default=FALSE /> 

<!--- use double-checked locking to prevent race conditions --->
<cfif not structKeyExists( application, 'appInitialized' ) or url.appReload >
	<cflock name="appInitBlock" type="exclusive" timeout="10">
	<cfif not structKeyExists( application, 'appInitialized' ) or url.appReload >
		<cfset createObject('component','config').init().SetVariables() />
	</cfif>
	</cflock>
</cfif>
</cfsilent>


